package tech.aistar.service.impl;

import org.springframework.stereotype.Service;
import tech.aistar.entity.Customer;
import tech.aistar.mapper.CustomerMapper;
import tech.aistar.service.ICustomerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 靳光乐
 * @since 2022-11-28
 */
@Service
public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> implements ICustomerService {
    @Resource
    private CustomerMapper customerMapper;
    @Override
    public Customer getInfo(String custName, String custPwd) {
        return customerMapper.getInfo(custName,custPwd);
    }
}
